package com.bawei.module_detail.intent

import com.bawei.lib_common.entity.SendCommentBody
import com.bawei.lib_mvi.IIntent
import com.bawei.module_detail.model.entity.LikeCollectBody
import com.bawei.module_detail.model.entity.ReplyBody
import com.bawei.module_detail.model.entity.SendBulletBody

sealed class VideoDetailIntent: IIntent {
    /**
     * 获取视频推荐
     */
    data class getVideoRecommend(val page:Int,val pageSize:Int):VideoDetailIntent()
    /**
     * 获取评论
     */
    data class getCommentByUserId(val datatype:Int,val itemid:String):VideoDetailIntent()
    /**
     * 发送评论
     */
    data class sendComment(val body:SendCommentBody):VideoDetailIntent()
    /**
     * 删除评论
     */
    data class deleteComment(val commentid:Int):VideoDetailIntent()
    /**
     * 回复评论
     */
    data class reply(val replyBody:ReplyBody):VideoDetailIntent()
    /**
     * 删除回复评论
     */
    data class replyDelete(val id:Int):VideoDetailIntent()
    /**
     * 获取弹幕
     */
    data class getBullet(val datatype:Int,val itemid:String):VideoDetailIntent()
    /**
     * 发送弹幕
     */
    data class sendBullet(val body: SendBulletBody):VideoDetailIntent()
    /**
     * 点赞视频
     */
    data class agreeVideo(val body:LikeCollectBody):VideoDetailIntent()
    /**
     * 取消点赞视频
     */
    data class cancelAgreeVideo(val body:LikeCollectBody):VideoDetailIntent()
    /**
     * 检查是否点赞视频
     */
    data class checkAgreeVideo(val sourceflag:String,val userId:Int):VideoDetailIntent()
    /**
     * 收藏视频
     */
    data class collectVideo(val body:LikeCollectBody):VideoDetailIntent()
    /**
     * 取消收藏视频
     */
    data class cancelCollectVideo(val body:LikeCollectBody):VideoDetailIntent()
    /**
     * 检查是否收藏视频
     */
    data class checkCollectVideo(val sourceflag:String,val userId:Int):VideoDetailIntent()

}